package com.zy.web.demo.duoxiancheng.demo11;

/**
 * @author <a href="mailto:zhouyong@cqyyt.com">zy</a>
 * @version 1.0
 * @date 2020/8/3 15:25
 */
public class MyThread11B extends Thread{

    private ObjectService objectService;

   public MyThread11B(ObjectService objectService){
       this.objectService = objectService;
   }

    @Override
    public void run() {
        super.run();
        objectService.main();
    }
}
